/*define(['models/appointment'], function(Appointment){
    var AppointmentCollection = Backbone.Collection.extend({
//        url : '/services/deal'
        url : '/appointment'
    });
    return new AppointmentCollection;
});*/

define([
    'jquery',
    'underscore',
    'backbone',
    'models/appointment'
], function($, _, Backbone, AppointmentModel){

    var AppointmentCollection = Backbone.Collection.extend({

        model: AppointmentModel,
        url: 'api/appointment'

    });

    return AppointmentCollection;
});